import request from '@/utils/request'

export function getLedModelList(bid) {
	return request({
		url: '/LedSpec/findByBrandId',
        method: 'get',
        bid: bid
	})
}

export function getLedModel(id) {
	return request({
		url: '/LedSpec/' + id,
		method: 'get'
	})
}

export function addLedModel(data) {
	return request({
		url: '/LedSpec/add',
		method: 'post',
		data
	})
}

export function updateLedModel(data) {
	return request({
		url: '/LedSpec/update',
		method: 'post',
		data
	})
}

export function delLedModel(id) {
	return request({
		url: '/LedSpec/delete/' + id,
		method: 'get'
	})
}
